@include('home.Usercenter.header')
<!-- ngView: -->
<div ng-view="" role="main" class="ng-scope">
  <div class="profile-container container" profile-container="" page-name="avatar" page-title="个人资料" page-title-visible="true">
    <div class="clearfix">
      <div class="location" ng-style="{visibility: geohash ? &#39;&#39; : &#39;hidden&#39;}" role="navigation" location="">
        <span>当前位置 : {{session('dizhi')}}</span>
        
          <span class="ng-binding ng-scope">个人资料</span>
      </div>
      <div search-input=""></div>
    </div>
    @include('home.UserCenter.leftList')
    
    <div class="profile-panel" role="main">
      <!-- ngIf: pageTitleVisible -->
      <h3 ng-if="pageTitleVisible" class="profile-paneltitle ng-scope">
        <span ng-bind="pageTitle" class="ng-binding">个人资料</span>
        <span class="subtitle ng-binding" ng-bind-html="pageSubtitle | toTrusted"></span>
      </h3>
      <!-- end ngIf: pageTitleVisible -->
      <div style="margin-left:120px" class="profile-panelcontent" ng-transclude="">
      <form class="avatar-form ng-scope ng-pristine ng-valid" method="post" action="/modify/editimg" enctype="multipart/form-data">
        <p>
            <button class="btn-upload btn-lg">上传图片</button>
            <input type="file" name="avatar">支持小于2M的JPG和PNG图片
        </p>
            {{csrf_field()}}
        <div class="avatar-previewcontainer clearfix">
            <div ">
                <img width="150px" src="/home/UserCenters/img/default/{{$res}}" class="" alt="默认头像">        
            </div>
            
            <h2>原头像</h2>

        </div>
        <button type="submit" class="btn-submit btn-primary btn-lg" >保存头像</button>
          <a class="btn-cancel btn-lg" ng-click="cancelImage()">取消</a>    
      </form>
</div>
    </div>
  </div>
</div>

@include('home.Usercenter.footer')